<div id="contentLogin">
	<div class="addPost">
        <div class="pointerBlock dashBordBlock">
          <div class="content">
          <strong style="padding-bottom: 30px;" class="title">Список комун</strong></div>
          <ul class="favourites">
          	<% @communities.each do |community| %>
          		<li><%=link_to community.title, community_path(community)%> - (<%= community_join_link(community)%>)</li>	
          	<% end %>
          </ul>
          
          <br/><%= will_paginate @communities %>
      </div>
    </div>
</div>
